import React, { Component } from 'react';
import TitleStyled from './titlestyled';

export default class title extends Component {
    render() {
        return (
            <div>
                <TitleStyled>
                    <div className="titlecomponent">
                        <img src="citygroup/line_left.png" alt=""/>
                        {this.props.children}
                        <img src="citygroup/line_right.png" alt=""/>
                    </div>
                </TitleStyled>
            </div>
        )
    }
}
